import { useBasicDataStore } from "@/stores/basicDataStore";
import BaseStoreSearch from './BaseStoreSearch';

const BasicStoreSearch = () => {
  const setBasicData = useBasicDataStore(state => state.setBasicData);

  return (
    <BaseStoreSearch
      // 选中门店时直接设置为当前门店（差异化回调）
      onSelect={(store) => setBasicData(store)}
    />
  );
};

export default BasicStoreSearch;